using AmisSdk.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace AmisSdk.Web.Controllers
{
    [ApiController]
    [Route("[controller]")]
    public class AmisController : ControllerBase
    {

        private readonly ILogger<AmisController> _logger;

        public AmisController(ILogger<AmisController> logger)
        {
            _logger = logger;
        }

        [HttpGet(Name = "")]
        public IActionResult Get()
        {
            return Content(new AmisService().GenerateSamplePage());
        }
    }
}
